package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.Customer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author zjr
 * @version 1.0
 */
public interface CustomerDao {
    List<Customer> customerList(Integer page, Integer rows, String customerName);

    void insertCustomer(@Param("customer")Customer customer);

    void updateCustomer(Customer customer, Integer customerId);

    void deleteCustomer(@Param("ids")String ids);
}
